body {
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

.Main-container {
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden;
}

/* LEFT PANEL */
.left-panel {
    width: 45%;
    height: 100%;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.top-bar {
    width: 100%;
    height: 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo-circle img {
    width: 12%;
}

.login-box {
    width: 55%;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.topform {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid var(--color-border-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-lg);
    color: var(--icon-light-color);
    font-size: 22px;
}

.avatar i {
    font-size: larger;
}

.title {
    margin-bottom: var(--space-sm);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light-color);
    margin-bottom: var(--space-lg);
}

.login-box form {
    width: 100%;
    height: 55%;
}

.input-group {
    margin-bottom: var(--space-md);
}

.input-group label {
    font-size: 14px;
    display: block;
    margin-bottom: var(--space-xs);
}

.password-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.password-row a {
    font-size: 0.8rem;
    color: var(--color-btn-link-primary);
    text-decoration: none;
}

.input-field {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--radius-sm);
    padding: 5px;
    padding-inline-start: 15px;
}

input {
    outline: none  !important;
    border: none  !important;
    box-shadow:none !important;
}
.input-field:focus-within {
    outline: none;
    border-color: rgba(37, 99, 235, .45);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
    transition: all .2s ease;
}

.input-field i {
    margin-right: var(--space-sm);
    color: var(--icon-light-color);
}

.input-field input {
    height: 30px;
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.8rem;
}

.RemembermeBtn {
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: var(--text-Grey-color);
}

.login-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: var(--color-btn-link-primary);
    color: var(--text-white-color);
    font-size: 1.0rem;
    font-weight: 500;
    cursor: pointer;
}

.bottom-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-light-color);
    align-items: center;
}

.lang-select {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.lang-select select {
        outline: none  !important;
    border: none  !important;
    box-shadow:none !important;
    background: var(--bg-main);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    color: var(--color-btn-Secondary);
}

.lang {
    cursor: pointer;
    user-select: none;
}

/* RIGHT PANEL */
.right-panel {
    width: 53%;
    height: 98%;
    border-radius: 10px;
    position: relative;
    background: linear-gradient(135deg, #dfefff, #e6e9ff);
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
}

.blob.big {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 30% 30%, #ffd6a5, #7aa2ff);
    top: 20%;
    left: 25%;
}

.blob.small {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #ffd6a5, #7aa2ff);
    top: 15%;
    left: 40%;
}

/* RTL SUPPORT */
body.rtl {
    direction: rtl;
}

body.rtl .left-panel {
    text-align: right;
}

body.rtl .input-field i {
    margin-left: 10px;
    margin-right: 0;
}

body.rtl .blob.big {
    left: auto;
    right: 25%;
}

body.rtl .blob.small {
    left: auto;
    right: 40%;
}

/* =========================================================
   Responsive – Unified Breakpoints
   Tablet: <= 992px
   Small Tablet: <= 768px
   Mobile: <= 576px
========================================================= */

/* ---------- Tablet (<= 992px) ---------- */
@media (max-width: 992px) {
    .left-panel {
        width: 65%;
    }

    .right-panel {
        width: 33%;
    }

    .login-box {
        width: 65%;
    }

    .title {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

/* ---------- Small Tablet (<= 768px) ---------- */
@media (max-width: 768px) {
    .left-panel {
        width: 100%;
    }

    .right-panel {
        display: none;
    }

    .login-box {
        width: 70%;
    }

    .title {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }
}

/* ---------- Mobile (<= 576px) ---------- */
@media (max-width: 576px) {
    .login-box {
        width: 92%;
        height: auto;
        gap: var(--space-md);
    }

    .avatar {
        width: 76px;
        height: 76px;
        margin-bottom: var(--space-md);
    }

    .subtitle {
        font-size: 0.85rem;
        margin-bottom: var(--space-md);
        text-align: center;
    }

    .bottom-bar {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
        text-align: center;
    }
}
